{% include 'admin/header_admin.html' %}
{% if user.is_authenticated and user.is_superuser %}
	<div class="content">
		<div class="col_izq">
			{% include 'admin/admin_menu_izq.html' %}
		</div>
	
		<div class="col_central">
			
				<p class="pelicula-mod-cabecera"><strong>Modificar película</strong></p>
			
			<div class="pelicula-mod-form">
				<form id="pelicula-mod" method="post" action="/admin-peliculas/mod/">
					{% csrf_token %}
					<table>
	                {{form.as_table}}
	                	<tr>
	                		<td>
	                			<input type="hidden" name="pelicula_id" value="{{pelicula.id}}"/> 
	                			<input type="submit" name="submit" value="Confirmar" />
	                		</td>
	                		<td><a href="/admin-peliculas/">Cancelar</a></td>
	                	</tr>
	                </table>
				</form>
			</div>
			
		</div>
	
		<div class="col_der">
			<a href="/home/">Visitar la web</a>
		</div>
	</div>
{% endif %}
